@import './common.less';

.order_center {
    margin: 0 auto;
    display: flex;
    width: fit-content;
    padding: 30px 0;

    .order_center_left {
        border-radius: 6px;
        border: 1px solid @grey-color;
        padding: 20px;
        width: 690px;

        >div {
            margin-bottom: 40px;
        }

        .homestay_info {
            display: flex;

            .homestay_info_left {
                margin-right: 20px;

                img {
                    width: 151px;
                    height: 123px;
                    border-radius: 6px;
                    border: 1px solid @grey-color;
                }
            }

            .homestay_info_right {
                display: flex;
                flex-direction: column;
                padding: 12px;

                .homestay_title {
                    font-size: 22px;
                    font-weight: 500;
                    margin-bottom: 10px;
                }

                .homestay_label_group {
                    font-size: 16px;
                    font-weight: 400;
                    color: @grey-color;
                }
            }
        }

        .booking_process {
            display: flex;

            .booking_process_label {
                font-size: 14px;
                color: #666;
            }

            .booking_process_main {
                display: flex;
                align-items: center;

                .process_dots {
                    padding: 0 5px;
                }

                .process_item {
                    display: flex;
                    align-items: center;

                    .process_text {
                        font-size: 14px;
                    }
                }
            }
        }

        .detail_prompt {
            width: 474px;
            height: 38px;
            line-height: 38px;
            border-radius: 4px;
            border: 1px dashed #979797;
            font-size: 14px;
            font-weight: 400;
            display: flex;
            justify-content: center;
        }

        .date_wrap {
            display: flex;

            >div {
                display: flex;
                flex-direction: column;

                .date_title_reuse {
                    margin-bottom: 10px;
                }
            }

            .check_in_date {
                margin-right: 30px;
            }

        }

        .check_in_person {
            display: flex;
            flex-direction: column;

            .check_in_person_title {
                margin-bottom: 10px;
            }

            .check_in_person_btn {
                height: 36px;
                line-height: 34px;
                border-radius: 2px;
                margin-bottom: 10px;

                .selecct_check_in_person {
                    font-size: 14px;
                    font-weight: 400;
                    color: @grey-color;
                }
            }

            .check_in_list {
                .check_in_list_title {
                    font-size: 14px;
                    font-weight: 400;
                    color: @grey-color;
                }

                ul {
                    li {}
                }
            }

        }

        .contacts {

            .phone {
                display: flex;
                flex-direction: column;
                margin-bottom: 30px;

                label {
                    margin-bottom: 15px;
                }
            }

            .verification_code {
                display: flex;
                flex-direction: column;

                label {
                    margin-bottom: 15px;
                }

                .verification_code_operation {
                    button {
                        padding: 12px 26px;
                        background: #666;
                        border-radius: 2px;
                        font-size: 14px;
                        font-family: HiraginoSansGB-W3, HiraginoSansGB;
                        color: #fff;
                        border: none;
                    }
                }
            }
        }
    }

    .order_center_right {
        width: 480px;
        margin-left: 20px;

        >div {
            padding: 20px;
            border-radius: 6px;
            border: 1px solid @grey-color;
            margin-bottom: 20px;

            .right_section_title {
                font-size: 22px;
                margin-bottom: 20px;
            }
        }

        .cost_breakdown {
            .cost_breakdown_title {}

            .cost_breakdown_main {
                .cost_all {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 15px;

                    .cost_all_left {
                        font-size: 16px;
                        font-weight: 400;
                        color: @grey-color;
                    }

                    .cost_all_right {
                        font-size: 16px;
                    }
                }

                .cost_date_list {
                    border-bottom: 1px dotted @grey-color;
                    max-height: 280px;
                    overflow: auto;
                    li {
                        display: flex;
                        justify-content: space-between;
                        margin-bottom: 10px;

                        .date {
                            font-size: 14px;
                            color: @grey-color;
                        }

                        .cost {
                            font-size: 14px;
                        }
                    }
                }

                .total {
                    padding-top: 20px;
                    text-align: end;

                    label {
                        font-size: 14px;
                    }

                    .total_pay {
                        font-size: 22px;
                    }
                }
            }
        }

        .notice {
            .notice_main {
                .notice_item {
                    display: flex;
                    margin-bottom: 10px;

                    label {
                        font-size: 14px;
                        width: 70px;
                        flex-shrink: 0;
                    }

                    .label_content {
                        font-size: 14px;
                        color: @grey-color;

                        .agreement {
                            color: rgb(81, 122, 153);
                        }

                        ol,
                        ul {
                            list-style: decimal;
                            padding-left: 14px;

                            li {
                                line-height: 17px;
                            }
                        }
                    }
                }
            }
        }

        .submit_order {
            width: 480px;
            height: 70px;
            line-height: 70px;
            text-align: center;
            border-radius: 2px;
            font-size: 22px;
            font-weight: 600;
            color: #fff;
            background: @theme;
            border: none;
            cursor: pointer;
        }
    }
}